#ifndef SELECTWINDOW_H
#define SELECTWINDOW_H

#include <QMainWindow>
#include <informationeditwindow.h>
#include <registerwindow.h>
#include <allinformationwindow.h>
#include <communicationwindow.h>
#include <QTcpSocket>

namespace Ui {
class SelectWindow;
}

class SelectWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit SelectWindow(QTcpSocket * clientSocket,QWidget *parent = nullptr);
    ~SelectWindow();

private slots:
    void on_InformationEditButton_clicked();
    void on_RegisterButton_clicked();
    void on_CheckInformationButton_clicked();
    void on_CommunicationButton_clicked();
    void CommunicationWindow_closed();
    void RegisterWindow_closed();
    void AllInformationWindow_closed();
    void InformationEditWindow_closed();

private:
    Ui::SelectWindow *ui;
    QTcpSocket *clientSocket;
    InformationEditWindow* informationeditwindowPtr;
    RegisterWindow* registerWindowPtr;
    AllInformationWindow *allinformationwindowPtr;
    CommunicationWindow *communicationwindowPtr;


};

#endif // SELECTWINDOW_H
